package com.kaibes.module.theme;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ModelAttribute;

@ControllerAdvice
public class ThemeControllerAdvice {

    @Autowired
    private ThemeConfig config;
    
    @ModelAttribute("themeUriList")
    public List<String> getUriList() {
        return config.getUriList();
    }
}